package com.hms.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 * 项目基本信息 <br>
 * 类详细说明.
 * <p>
 * Copyright: Copyright (c) 2013-4-19 下午12:28:37
 * <p>
 * Company: 北京宽连十方数字技术有限公司
 * <p>
 * 
 * @author zhouyan@c-platform.com
 * @version 1.0.0
 */
@Entity
@Table(name = "td_proejcts")
public class TdProjects extends BaseEntity {

	/** serialVersionUID */
	private static final long serialVersionUID = 1L;

	private String projectId;

	private Admin pm;

	private TdJobs job;

	private Integer jobNum;

	private Date startDate;

	private Date summaryDate;

	private String description;

	private Admin accountManager;

	private TdCustomer customerId;

	private TdCustomerContact recruiter;

	private TdCommonData projectStatus;

	@Column(nullable = false)
	public String getProjectId() {
		return projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

	@ManyToOne
	@JoinColumn(name = "pm", nullable = false)
	public Admin getPm() {
		return pm;
	}

	public void setPm(Admin pm) {
		this.pm = pm;
	}

	public TdJobs getJob() {
		return job;
	}

	public void setJob(TdJobs job) {
		this.job = job;
	}

	public Integer getJobNum() {
		return jobNum;
	}

	public void setJobNum(Integer jobNum) {
		this.jobNum = jobNum;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getSummaryDate() {
		return summaryDate;
	}

	public void setSummaryDate(Date summaryDate) {
		this.summaryDate = summaryDate;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Admin getAccountManager() {
		return accountManager;
	}

	public void setAccountManager(Admin accountManager) {
		this.accountManager = accountManager;
	}

	public TdCustomer getCustomerId() {
		return customerId;
	}

	public void setCustomerId(TdCustomer customerId) {
		this.customerId = customerId;
	}

	public TdCustomerContact getRecruiter() {
		return recruiter;
	}

	public void setRecruiter(TdCustomerContact recruiter) {
		this.recruiter = recruiter;
	}

	public TdCommonData getProjectStatus() {
		return projectStatus;
	}

	public void setProjectStatus(TdCommonData projectStatus) {
		this.projectStatus = projectStatus;
	}
}
